<template>
  <div class="box">
    <div class="top">
      <h1>圈友说</h1>
    </div>
    <div class="center">
      <div class="content1">
        <img
          src="https://img.alicdn.com/imgextra/i1/3390270589/O1CN01Koajag1GDo01YmKUt_!!3390270589.jpg"
        />
        <b>传说中的狗头军师</b>
        <img
          src="https://img.alicdn.com/imgextra/i2/3390270589/O1CN01bwHZV01GDnzvAF9Yy_!!3390270589.jpg"
        />
        <input type="button" value="+关注" />
      </div>
      <div class="content2">
        <p>
          <span>#送大奖|惊悚片安利榜</span
          >《密探》是由金知云执导，宋康昊、孔刘、韩志主演的课战动作片，于2016年9月7日在韩国上映。
        </p>
      </div>
      <div class="content3">
        <img
          src="https://img.alicdn.com/imgextra/i2/3390270589/O1CN01yIZYyN1GDo03HeQtS_!!3390270589.jpg"
        />
        <img
          src="https://img.alicdn.com/imgextra/i2/3390270589/O1CN01oVZ1h61GDnzzhAiWu_!!3390270589.jpg"
        />
        <img
          src="https://img.alicdn.com/imgextra/i2/3390270589/O1CN01jZAwnI1GDnzzh8deO_!!3390270589.jpg"
        />
        <img
          src="https://img.alicdn.com/imgextra/i1/3390270589/O1CN011ZSGVp1GDnzvkSfRs_!!3390270589.jpg"
        />
      </div>
      <div class="content4">
        <input type="button" value="怪圈谈" />
      </div>
      <ul class="content5">
        <li>
          <span class="iconfont public-zhuanfa" @click="fx"></span>
          <b>分享</b>
        </li>
        <li>
          <span class="iconfont public-pinglun"></span>
          <b>评论</b>
        </li>
        <li>
          <span class="iconfont public-dianzan" @click="zan"></span>
          <b>赞 {{ like_count }}</b>
        </li>
      </ul>
    </div>
    <div class="center">
      <div class="content1">
        <img src="../../../assets/img/wxq-img/guangchang/g16.jpg" />
        <b>明星队长街舞大秀</b>
        <img
          src="https://img.alicdn.com/imgextra/i2/3390270589/O1CN01bwHZV01GDnzvAF9Yy_!!3390270589.jpg"
        />
        <input type="button" value="+关注" />
      </div>
      <div class="content2">
        <p>
          <span>#送大奖|惊悚片安利榜</span
          >街舞大秀中特别喜欢一博这个嘟嘟嘟嘟嘟一段，节奏感特别强
        </p>
      </div>
      <div class="content3">
        <img
          src="../../../assets/img/wxq-img/guangchang/g14.jpg"
          style="width: 3.8rem; height: 2.5rem"
        />
      </div>
      <div class="content4">
        <input type="button" value="这就是街舞" />
      </div>
      <ul class="content5">
        <li>
          <span class="iconfont public-zhuanfa" @click="fx"></span>
          <b>分享</b>
        </li>
        <li>
          <span class="iconfont public-pinglun"></span>
          <b>评论</b>
        </li>
        <li>
          <span class="iconfont public-dianzan" @click="zan"></span>
          <b>点赞{{ like_count1 }}</b>
        </li>
      </ul>
    </div>
    <div class="center">
      <div class="content1">
        <img src="../../../assets/img/wxq-img/guangchang/g17.jpg" />
        <b>黄河之雁0905</b>
        <img
          src="https://img.alicdn.com/imgextra/i2/3390270589/O1CN01bwHZV01GDnzvAF9Yy_!!3390270589.jpg"
        />
        <input type="button" value="+关注" />
      </div>
      <div class="content2">
        <p>
          <span>#娱乐这个圈儿</span
          >郭富城56岁生日，方媛晒出和两个女儿一同为他庆生的照片，并表示“老公生日大快乐”，大撒狗粮。照片中，一家四口共同吹生日蜡烛，画面幸福温馨。
        </p>
      </div>
      <div class="content3">
        <img
          src="../../../assets/img/wxq-img/guangchang/g18.jpg"
          style="width: 3.8rem; height: 2.5rem"
        />
      </div>
      <div class="content4">
        <input type="button" value="今日娱乐圈" />
      </div>
      <ul class="content5">
        <li>
          <span class="iconfont public-zhuanfa" @click="fx"></span>
          <van-share-sheet
            v-model="showShare"
            title="立即分享给好友"
            :options="options"
          />
          <b>分享</b>
        </li>
        <li>
          <span class="iconfont public-pinglun"></span>
          <b>评论</b>
        </li>
        <li>
          <span class="iconfont public-dianzan"></span>
          <b>点赞</b>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      showShare: false,
      options: [
        [
          { name: "微信", icon: "wechat" },
          { name: "朋友圈", icon: "wechat-moments" },
          { name: "微博", icon: "weibo" },
          { name: "QQ", icon: "qq" },
        ],
        [
          { name: "复制链接", icon: "link" },
          { name: "分享海报", icon: "poster" },
          { name: "二维码", icon: "qrcode" },
          { name: "小程序码", icon: "weapp-qrcode" },
        ],
      ],
      like_count: 10,
      like_count1: 1,
      flg: true,
    };
  },
  methods: {
    fx() {
      this.showShare = true;
    },
    zan: function () {
      if (this.flg) {
        this.like_count++;
        this.like_count1++;
        this.flg = false;
      } else {
        this.like_count--;
        this.like_count1--;
        this.flg = true;
      }
    },
  },
};
</script>

<style scoped>
@import url("../../../assets/iconfont/iconfont.css");
.box {
  width: 100%;
  box-sizing: border-box;
  padding: 0.14rem;
  margin-bottom: 0.6rem;
}
.box .top {
  width: 100%;
  height: 0.75rem;
  line-height: 0.75rem;
}
.box h1 {
  font-size: 0.18rem;
  color: black;
}
.box .top p {
  font-size: 0.18rem;
  color: #a8a8a8;
  float: right;
}
.box .center {
  width: 100%;
}
.box .center .content1 {
  padding-top: 0.1rem;
  height: 0.5rem;
}
.box .center .content1 img {
  vertical-align: middle;
  margin-right: 0.12rem;
}
.box .center .content1 input {
  width: 0.65rem;
  height: 0.3rem;
  float: right;
  border: 0.01rem solid #00c4a6;
  border-radius: 0.15rem;
  text-align: center;
  line-height: 0.3rem;
  color: #00c4a6;
  border: 0;
}
.box .center .content2 {
  width: 100%;
}
.box .center .content2 p {
  font-size: 0.16rem;
  line-height: 0.3rem;
}
.box .center .content2 span {
  font-size: 0.16rem;
  line-height: 0.3rem;
  color: #56d4c8;
}
.box .center .content3 {
  width: 2.55rem;
  height: 2.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.box .center .content3 img {
  width: 1.25rem;
  height: 1.25rem;
}
.box .center .content4 {
  width: 100%;
  height: 0.5rem;
}
.box .center .content4 input {
  width: 0.85rem;
  height: 0.3rem;
  background-color: #2ff1d6;
  text-align: center;
  line-height: 0.3rem;
  border-radius: 0.15rem;
  margin-top: 0.14rem;
}
.box .center .content5 {
  width: 100%;
  height: 0.5rem;
  display: flex;
  justify-content: space-between;
}
.box .center li {
  width: 33%;
  height: 0.5rem;
  line-height: 0.5rem;
  text-align: center;
}
.box .center li span {
  font-size: 0.2rem;
  margin-right: 0.06rem;
  color: #e7e7e7;
}
.box .center li b {
  color: #e7e7e7;
}
</style>
